var timer = "";
function timering(seconds){
   if(seconds > 0){
    seconds--;
    document.getElementById('timing').innerHTML = seconds;
    timer = setTimeout('timering( '+ seconds +' )',1000);
   }
   else {
	document.getElementById('styled_popup').innerHTML = "";
	document.getElementById('styled_popup').style.visibility = 'hidden';
	clearTimeout(timer);
	}
}
function ca() {
document.getElementById('styled_popup').innerHTML = "";
document.getElementById('styled_popup').style.visibility = 'hidden';
clearTimeout(timer);
}